package com.bana.fvs.app.mvp.model;

import android.app.Activity;

import com.bana.fvs.app.mvp.ConstantsValue;
import com.bana.fvs.app.mvp.contract.FogZoneContract;
import com.wei.commonlibrary.net.OkhttpRequest;

import java.util.HashMap;

/**
 * Author : yanftch
 * Date : 2018/3/2
 * Time : 22:15
 * Desc :
 */

public class FogZoneModel extends FogZoneContract.AbsFogZoneModel {
    @Override
    public void onStart() {

    }

    @Override
    public OkhttpRequest http_getFogList(Activity activity,String token) {
        HashMap<String,Object> map = new HashMap<>();
        map.put(ConstantsValue.TOKEN,token);
        return okhttpRequest.url(iApiService.getFogList(map));
    }
}
